package com.khyr.fegin;

import com.khyr.entity.User;
import com.khyr.vo.R;
import jakarta.servlet.http.HttpServletRequest;
import org.apache.ibatis.annotations.Param;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @className: UserFeign
 * @author: Zyl
 * @date: 2025/3/12 17:03
 * @Version: 1.0
 * @description:
 */
@FeignClient(value = "services-system", fallbackFactory = UserFactory.class)
public interface UserFegin {
    @GetMapping("/system/user/getUserInfo")
    public R<User> getUserInfo(@RequestParam  HttpServletRequest request);

}
